package org.finir.fakturisanje.business.service;

import org.finir.fakturisanje.business.core.GenerickiEAO;

@SuppressWarnings("unchecked")
public class SacuvajEntitetImpl implements SacuvajEntitet {

	private GenerickiEAO generickiEAO;

	public GenerickiEAO getGenerickiEAO() {
		return generickiEAO;
	}

	public void setGenerickiEAO(GenerickiEAO generickiEAO) {
		this.generickiEAO = generickiEAO;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * org.finir.fakturisanje.business.service.IzmeniEntitet#izmeniEntitet(java
	 * .lang.Object)
	 */
	public void sacuvajEntitet(Object entitet) {
		generickiEAO.save(entitet);
	}

}
